package com.zyx.springredispub.cons;

import lombok.Getter;

/**
 * @author zyx
 * @since 2022/3/30 23:25
 */
@Getter
public enum Channels {
    /** 通道信息 */
    CH01("channel01", "first"),
    CH02("channel02", "second");

    /** 通道名称 */
    private final String chName;
    /** ListenerAdapter对应的方法名 */
    private final String recName;

    Channels(String chName, String recName) {
        this.chName = chName;
        this.recName = recName;
    }
}
